// 配置部署环境
/**
 * deve 开发环境
 * loca 本地环境
 * test 测试环境
 * prod 生产环境
 * */ 
const env_config = {
  deve: false,
  loca: false,
  test: true,
  prod: false
}
const server_urls = {
  'deve': 'http://read.yajunliang.com',
  'test': 'http://read.yajunliang.com',
  'prod': 'http://read.yajunliang.com',
  'loca': 'http://read.yajunliang.com'
} 
let server_env_name = 'prod';
for(let key in env_config){
  if(env_config[key]){
    server_env_name = key;
  }
}
module.exports = {
  server_url: server_urls[server_env_name]
};